package com.jiuqi.irs.generator.dao.pojo;

import java.io.Serializable;
import org.apache.commons.lang.builder.ToStringBuilder;

/** 
 *        @hibernate.class
 *         table="TB_PAYMENT"
 *     
*/
public class TbPayment implements Serializable {

   
    private String paymentId;
   
    private String orgGuid;

    private String useQuantity;
    
    private String paymentType;
    
    private String paymentYear;
    
    private String paymentCreatTime;
    
    private String paymentLastTime;
    
    private String reserved1;
   
    private String reserved2;
   
    private String reserved3;


	public String getPaymentId() {
		return paymentId;
	}



	public void setPaymentId(String paymentId) {
		this.paymentId = paymentId;
	}



	public String getOrgGuid() {
		return orgGuid;
	}



	public void setOrgGuid(String orgGuid) {
		this.orgGuid = orgGuid;
	}



	public String getUseQuantity() {
		return useQuantity;
	}



	public void setUseQuantity(String useQuantity) {
		this.useQuantity = useQuantity;
	}



	public String getPaymentType() {
		return paymentType;
	}



	public void setPaymentType(String paymentType) {
		this.paymentType = paymentType;
	}



	public String getPaymentYear() {
		return paymentYear;
	}



	public void setPaymentYear(String paymentYear) {
		this.paymentYear = paymentYear;
	}



	public String getPaymentCreatTime() {
		return paymentCreatTime;
	}



	public void setPaymentCreatTime(String paymentCreatTime) {
		this.paymentCreatTime = paymentCreatTime;
	}



	public String getPaymentLastTime() {
		return paymentLastTime;
	}



	public void setPaymentLastTime(String paymentLastTime) {
		this.paymentLastTime = paymentLastTime;
	}



	public String getReserved1() {
		return reserved1;
	}



	public void setReserved1(String reserved1) {
		this.reserved1 = reserved1;
	}



	public String getReserved2() {
		return reserved2;
	}



	public void setReserved2(String reserved2) {
		this.reserved2 = reserved2;
	}



	public String getReserved3() {
		return reserved3;
	}



	public void setReserved3(String reserved3) {
		this.reserved3 = reserved3;
	}



	public TbPayment(String paymentId, String orgGuid,String useQuantity, String paymentType,String paymentYear,String paymentCreatTime, String paymentLastTime,String reserved1, String reserved2, String reserved3) {
	        this.paymentId = paymentId;
		 	this.orgGuid = orgGuid;
		 	this.useQuantity = useQuantity;
		 	this.paymentType = paymentType;
		 	this.paymentYear = paymentYear;
		 	this.paymentCreatTime = paymentCreatTime;
		 	this.paymentLastTime = paymentLastTime;
	        this.reserved1 = reserved1;
	        this.reserved2 = reserved2;
	        this.reserved3 = reserved3;
	    }



	public TbPayment() {
    }

    
    public TbPayment(String paymentId, String orgGuid) {
        this.paymentId = paymentId;
        this.orgGuid = orgGuid;
    }



	public String toString() {
		return new ToStringBuilder(this)
        .append("paymentId", getPaymentId())
        .toString();
	}



	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((paymentId == null) ? 0 : paymentId.hashCode());
		return result;
	}



	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		TbPayment other = (TbPayment) obj;
		if (paymentId == null) {
			if (other.paymentId != null)
				return false;
		} else if (!paymentId.equals(other.paymentId))
			return false;
		return true;
	}

   
}
